# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit unpacker

DESCRIPTION="A Clash Meta GUI based on Tauri"
HOMEPAGE="https://github.com/clash-verge-rev/clash-verge-rev"
SRC_URI="https://github.com/clash-verge-rev/clash-verge-rev/releases/download/v${PV}/clash-verge_${PV}_amd64.deb"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
RESTRICT="binchecks bindist mirror strip"
IUSE=""

S=${WORKDIR}

OPT_DIR="opt/${PN}"

RDEPEND="net-libs/libsoup net-libs/webkit-gtk"

src_unpack() {
	:
}

src_install() {
	dodir /
	cd ${D} || die
	unpack_deb ${A}
}
